#import <Foundation/Foundation.h>
#import "Card.h"
#import "Deck.h"

int main(int argc, const char * argv[]) {
    NSAutoreleasePool *pool  = [[NSAutoreleasePool alloc] init];
    Deck *d = [[[Deck alloc] initWithDeck: [Deck getSuffledDeck]] autorelease];
    
    Card *c = [d getCardAtIndex: 15];
    NSLog(@"Card type %@ and value %@", [Card stringfyCardType: c], [Card stringfyCardValue: c]);

    d = [Deck shuffle: d]; 
    c = [d getCardAtIndex: 15];
    NSLog(@"Card type %@ and value %@", [Card stringfyCardType: c], [Card stringfyCardValue: c]);

    [pool drain];
    return 0;
}
